#ifndef C_QLISTBOX_H
#define C_QLISTBOX_H

/****************************************************************************
** QListBox C bindings generated from reading C++ file 'qlistbox.h'
**
** Created: Tue Jul 30 19:22:29 2002
**      by: The Qt Meta Object Compiler ($Revision: 2.53 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

C_EXPORT QListBoxH QListBox_create(QWidgetH parent, const char* name, WFlags f);
C_EXPORT void QListBox_destroy(QListBoxH handle);
C_EXPORT void QListBox_setFont(QListBoxH handle, const QFontH p1);
C_EXPORT uint QListBox_count(QListBoxH handle);
C_EXPORT void QListBox_insertStringList(QListBoxH handle, const QStringListH p1, int index);
C_EXPORT void QListBox_insertStrList(QListBoxH handle, const QStrListH p1, int index);
C_EXPORT void QListBox_insertStrList2(QListBoxH handle, const QStrListH p1, int index);
C_EXPORT void QListBox_insertStrList3(QListBoxH handle, const char** p1, int numStrings, int index);
C_EXPORT void QListBox_insertItem(QListBoxH handle, const QListBoxItemH p1, int index);
C_EXPORT void QListBox_insertItem2(QListBoxH handle, const QListBoxItemH p1, const QListBoxItemH after);
C_EXPORT void QListBox_insertItem3(QListBoxH handle, PWideString text, int index);
C_EXPORT void QListBox_insertItem4(QListBoxH handle, const QPixmapH pixmap, int index);
C_EXPORT void QListBox_insertItem5(QListBoxH handle, const QPixmapH pixmap, PWideString text, int index);
C_EXPORT void QListBox_removeItem(QListBoxH handle, int index);
C_EXPORT void QListBox_clear(QListBoxH handle);
C_EXPORT void QListBox_text(QListBoxH handle, PWideString retval, int index);
C_EXPORT const QPixmapH QListBox_pixmap(QListBoxH handle, int index);
C_EXPORT void QListBox_changeItem(QListBoxH handle, const QListBoxItemH p1, int index);
C_EXPORT void QListBox_changeItem2(QListBoxH handle, PWideString text, int index);
C_EXPORT void QListBox_changeItem3(QListBoxH handle, const QPixmapH pixmap, int index);
C_EXPORT void QListBox_changeItem4(QListBoxH handle, const QPixmapH pixmap, PWideString text, int index);
C_EXPORT void QListBox_takeItem(QListBoxH handle, const QListBoxItemH p1);
C_EXPORT int QListBox_numItemsVisible(QListBoxH handle);
C_EXPORT int QListBox_currentItem(QListBoxH handle);
C_EXPORT void QListBox_currentText(QListBoxH handle, PWideString retval);
C_EXPORT void QListBox_setCurrentItem(QListBoxH handle, int index);
C_EXPORT void QListBox_setCurrentItem2(QListBoxH handle, QListBoxItemH p1);
C_EXPORT void QListBox_centerCurrentItem(QListBoxH handle);
C_EXPORT int QListBox_topItem(QListBoxH handle);
C_EXPORT void QListBox_setTopItem(QListBoxH handle, int index);
C_EXPORT void QListBox_setBottomItem(QListBoxH handle, int index);
C_EXPORT long QListBox_maxItemWidth(QListBoxH handle);
C_EXPORT void QListBox_setSelectionMode(QListBoxH handle, QListBoxSelectionMode p1);
C_EXPORT QListBoxSelectionMode QListBox_selectionMode(QListBoxH handle);
C_EXPORT void QListBox_setMultiSelection(QListBoxH handle, bool multi);
C_EXPORT bool QListBox_isMultiSelection(QListBoxH handle);
C_EXPORT void QListBox_setSelected(QListBoxH handle, QListBoxItemH p1, bool p2);
C_EXPORT void QListBox_setSelected2(QListBoxH handle, int p1, bool p2);
C_EXPORT bool QListBox_isSelected(QListBoxH handle, int p1);
C_EXPORT bool QListBox_isSelected2(QListBoxH handle, const QListBoxItemH p1);
C_EXPORT void QListBox_sizeHint(QListBoxH handle, PSize retval);
C_EXPORT void QListBox_minimumSizeHint(QListBoxH handle, PSize retval);
C_EXPORT QListBoxItemH QListBox_item(QListBoxH handle, int index);
C_EXPORT int QListBox_index(QListBoxH handle, const QListBoxItemH p1);
C_EXPORT QListBoxItemH QListBox_findItem(QListBoxH handle, PWideString text);
C_EXPORT void QListBox_triggerUpdate(QListBoxH handle, bool doLayout);
C_EXPORT bool QListBox_itemVisible(QListBoxH handle, int index);
C_EXPORT bool QListBox_itemVisible2(QListBoxH handle, const QListBoxItemH p1);
C_EXPORT void QListBox_setColumnMode(QListBoxH handle, QListBoxLayoutMode p1);
C_EXPORT void QListBox_setColumnMode2(QListBoxH handle, int p1);
C_EXPORT void QListBox_setRowMode(QListBoxH handle, QListBoxLayoutMode p1);
C_EXPORT void QListBox_setRowMode2(QListBoxH handle, int p1);
C_EXPORT QListBoxLayoutMode QListBox_columnMode(QListBoxH handle);
C_EXPORT QListBoxLayoutMode QListBox_rowMode(QListBoxH handle);
C_EXPORT int QListBox_numColumns(QListBoxH handle);
C_EXPORT int QListBox_numRows(QListBoxH handle);
C_EXPORT bool QListBox_variableWidth(QListBoxH handle);
C_EXPORT void QListBox_setVariableWidth(QListBoxH handle, bool p1);
C_EXPORT bool QListBox_variableHeight(QListBoxH handle);
C_EXPORT void QListBox_setVariableHeight(QListBoxH handle, bool p1);
C_EXPORT void QListBox_viewportPaintEvent(QListBoxH handle, QPaintEventH p1);
C_EXPORT bool QListBox_dragSelect(QListBoxH handle);
C_EXPORT void QListBox_setDragSelect(QListBoxH handle, bool p1);
C_EXPORT bool QListBox_autoScroll(QListBoxH handle);
C_EXPORT void QListBox_setAutoScroll(QListBoxH handle, bool p1);
C_EXPORT bool QListBox_autoScrollBar(QListBoxH handle);
C_EXPORT void QListBox_setAutoScrollBar(QListBoxH handle, bool enable);
C_EXPORT bool QListBox_scrollBar(QListBoxH handle);
C_EXPORT void QListBox_setScrollBar(QListBoxH handle, bool enable);
C_EXPORT bool QListBox_autoBottomScrollBar(QListBoxH handle);
C_EXPORT void QListBox_setAutoBottomScrollBar(QListBoxH handle, bool enable);
C_EXPORT bool QListBox_bottomScrollBar(QListBoxH handle);
C_EXPORT void QListBox_setBottomScrollBar(QListBoxH handle, bool enable);
C_EXPORT bool QListBox_smoothScrolling(QListBoxH handle);
C_EXPORT void QListBox_setSmoothScrolling(QListBoxH handle, bool p1);
C_EXPORT bool QListBox_autoUpdate(QListBoxH handle);
C_EXPORT void QListBox_setAutoUpdate(QListBoxH handle, bool p1);
C_EXPORT void QListBox_setFixedVisibleLines(QListBoxH handle, int lines);
C_EXPORT void QListBox_inSort(QListBoxH handle, const QListBoxItemH p1);
C_EXPORT void QListBox_inSort2(QListBoxH handle, PWideString text);
C_EXPORT int QListBox_cellHeight(QListBoxH handle, int i);
C_EXPORT int QListBox_cellHeight2(QListBoxH handle);
C_EXPORT int QListBox_cellWidth(QListBoxH handle);
C_EXPORT int QListBox_cellWidth2(QListBoxH handle, int i);
C_EXPORT int QListBox_numCols(QListBoxH handle);
C_EXPORT int QListBox_itemHeight(QListBoxH handle, int index);
C_EXPORT QListBoxItemH QListBox_itemAt(QListBoxH handle, PPoint p1);
C_EXPORT void QListBox_itemRect(QListBoxH handle, PRect retval, QListBoxItemH item);
C_EXPORT QListBoxItemH QListBox_firstItem(QListBoxH handle);
C_EXPORT void QListBox_sort(QListBoxH handle, bool ascending);
C_EXPORT void QListBox_ensureCurrentVisible(QListBoxH handle);
C_EXPORT void QListBox_clearSelection(QListBoxH handle);
C_EXPORT void QListBox_selectAll(QListBoxH handle, bool select);
C_EXPORT void QListBox_invertSelection(QListBoxH handle);

C_EXPORT void QListBoxItem_destroy(QListBoxItemH handle);

C_EXPORT void QListBoxItem_text(QListBoxItemH handle, PWideString retval);
C_EXPORT const QPixmapH QListBoxItem_pixmap(QListBoxItemH handle);
C_EXPORT int QListBoxItem_height(QListBoxItemH handle, const QListBoxH p1);
C_EXPORT int QListBoxItem_width(QListBoxItemH handle, const QListBoxH p1);
C_EXPORT bool QListBoxItem_selected(QListBoxItemH handle);
C_EXPORT bool QListBoxItem_current(QListBoxItemH handle);
C_EXPORT QListBoxH QListBoxItem_listBox(QListBoxItemH handle);
C_EXPORT void QListBoxItem_setSelectable(QListBoxItemH handle, bool b);
C_EXPORT bool QListBoxItem_isSelectable(QListBoxItemH handle);
C_EXPORT QListBoxItemH QListBoxItem_next(QListBoxItemH handle);
C_EXPORT QListBoxItemH QListBoxItem_prev(QListBoxItemH handle);
C_EXPORT QListBoxTextH QListBoxText_create(QListBoxH listbox, PWideString text);
C_EXPORT void QListBoxText_destroy(QListBoxTextH handle);
C_EXPORT QListBoxTextH QListBoxText_create2(PWideString text);
C_EXPORT QListBoxTextH QListBoxText_create3(QListBoxH listbox, PWideString text, QListBoxItemH after);
C_EXPORT int QListBoxText_height(QListBoxTextH handle, const QListBoxH p1);
C_EXPORT int QListBoxText_width(QListBoxTextH handle, const QListBoxH p1);
C_EXPORT QListBoxPixmapH QListBoxPixmap_create(QListBoxH listbox, const QPixmapH p2);
C_EXPORT void QListBoxPixmap_destroy(QListBoxPixmapH handle);
C_EXPORT QListBoxPixmapH QListBoxPixmap_create2(const QPixmapH p1);
C_EXPORT QListBoxPixmapH QListBoxPixmap_create3(QListBoxH listbox, const QPixmapH pix, QListBoxItemH after);
C_EXPORT QListBoxPixmapH QListBoxPixmap_create4(QListBoxH listbox, const QPixmapH p2, PWideString p3);
C_EXPORT QListBoxPixmapH QListBoxPixmap_create5(const QPixmapH p1, PWideString p2);
C_EXPORT QListBoxPixmapH QListBoxPixmap_create6(QListBoxH listbox, const QPixmapH pix, PWideString p3, QListBoxItemH after);
C_EXPORT const QPixmapH QListBoxPixmap_pixmap(QListBoxPixmapH handle);
C_EXPORT int QListBoxPixmap_height(QListBoxPixmapH handle, const QListBoxH p1);
C_EXPORT int QListBoxPixmap_width(QListBoxPixmapH handle, const QListBoxH p1);

#endif
